<?php
declare (strict_types=1);

namespace app\exam\logic;

use app\common\exception\LogicException;
use app\exam\model\Module as ModuleModel;

/**
 * 考试版块逻辑类
 */
class Module extends ModuleModel
{

	public function getModuleList()
	{
		$field = 'id,title,module_type,cover';
		$data  = $this->field($field)->select()->append(['cover_url']);

		return $data;
	}

}
